package com.forum.community.client;

import com.forum.article.vo.param.ArticleParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("forum-article")
public interface ArticleClient {
    @PostMapping("/article/forumArticle/publish")
    public void addCommunityArticle(@RequestBody ArticleParam articleParam);
}
